package com.epam.rd.lab.generics.products;

public class Fruit {
	String name = "";
	int weight;

	public Fruit(String name, int weight) {
		this.name = name;
		this.weight = weight;
	}

	public int getWeight() {
		return weight;
	}

	@Override
	public String toString() {
		return "Fruit [name=" + name + "]";
	}

}
